#include <led.H>

void led_disp(unsigned char adder,enable)
{
unsigned char teim = 0x00;
unsigned char teim_old = 0xFF;
	
	if(enable)	
	teim |= 0x01 << adder;
	else 
	teim &= ~(0x01 << adder);
	if(teim != teim_old)
	P0 = ~teim;
	P2 = P2 & 0X1F | 0X80;
	P2 &= 0X1F ;
	

}
	